Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: revert workaround for bug in nodejs 20.5 #905

Merged
merged 4 commits into from
Sep 6, 2023

Conversation

alanshaw
Copy link
Member

@alanshaw alanshaw commented Sep 6, 2023

This PR reverts the workaround for the bug in nodejs 20.5 (and below) which was resolved in nodejs 20.6.

const carCID = await Store.add(
{ issuer: agent, with: space.did(), proofs, audience: serviceSigner },
car,
{
connection,
onUploadProgress: (status) => {
assert(typeof status.loaded === 'number' && status.loaded > 0)
progressStatusCalls++
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On Nodejs 20.6 this is called more than once...

@vasco-santos vasco-santos merged commit a47ddd9 into main Sep 6, 2023
3 checks passed
@vasco-santos vasco-santos deleted the fix/revert-nodejs-20.5-workaround branch September 6, 2023 16:35
@vasco-santos
Copy link
Contributor

Oh I pressed merge button 🤦🏼‍♂️ @alanshaw let me know if I should revert

@alanshaw
Copy link
Member Author

alanshaw commented Sep 6, 2023

No I want it merge

alanshaw pushed a commit that referenced this pull request Sep 6, 2023
🤖 I have created a release *beep* *boop*
---


##
[9.1.2](upload-client-v9.1.1...upload-client-v9.1.2)
(2023-09-06)


### Bug Fixes

* revert workaround for bug in nodejs 20.5
([#905](#905))
([a47ddd9](a47ddd9))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: Alan Shaw <alan.shaw@protocol.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants